#include "application.hpp"
#include "mainwindow.hpp"

Application::Application(int argc, char** argv):QApplication(argc, argv)
{
	mw = new MainWindow;
}

Application::~Application()
{
	delete mw;
}

int Application::exec()
{
	mw->show();
	return QApplication::exec();
}

int main(int argc, char *argv[])
{
	Application app(argc, argv);
	return app.exec();
}
